package com.atguigu.structure.adapter.objectadapter;

import com.atguigu.structure.adapter.classadapter.Voltage220V;

public class PhoneClient {
    public static void main(String[] args) {
        Phone phone = new Phone();
        phone.charging(new VoltageAdapter(new Voltage220V()));
    }
}
